package com.zzh.phone.hviews.adapter;

import android.widget.TextView;

import com.zzh.lib.views.adapter.HExpandMoreAdapter;
import com.zzh.lib.views.adapter.holder.HSuperViewHolder;

/**
 * Created by ZZH on 2022/6/1.
 *
 * @Date: 2022/6/1
 * @Email: zzh_hz@126.com
 * @QQ: 1299234582
 * @Author: zzh
 * @Description:
 */
public class EAdapter extends HExpandMoreAdapter<String> {

    public EAdapter() {
        super(3);
    }

    @Override
    protected int getLayoutRes() {
        return android.R.layout.simple_list_item_1;
    }

    @Override
    protected void onBindViewData(HSuperViewHolder holder, String item, int position) {
        ((TextView) holder.getView(android.R.id.text1)).setText(item);
    }

}
